package com.aso114.project.bean;

import java.util.List;

/**
 * Created by Administrator on 2018/8/29.
 */

public class News {

    /**
     * message : 查询成功
     * data : [{"notificationId":215583,"title":"为你揭开神秘面纱 | 号称\u201c天下第一站\u201d的潼关超限站魅力何在？","content":"<div>陕西高速集团潼关超限检测站位于连霍高速K904+500处，地处陕豫晋三省交界，属于一类、主线、省界高速公路超限检测站和省界超限运输审批办证点。<\/div>\t\t\t\t\t","params":{"url":"https://mp.weixin.qq.com/s/DFmbATWUASvwSLcyoIkfVA"},"notificationType":null,"createDate":"2018年8月14日 11:48","logo":"http://119.29.100.17:82/notification/201808141148208447ycstbc.png"},{"notificationId":208062,"title":"上半年物流运行新动力不断增强 创新融合发展成常态","content":"上半年，全社会物流运行总体缓中趋稳，新兴物流领域发展迅猛，社会物流运行效率持续改善，企业业务规模增长总体平稳，面对外部经济环境和竞争态势，主动求变意识普遍增强，创新融合协调成为发展共识。\t\t\t\t\t","params":{"url":"https://mp.weixin.qq.com/s/ADSO4MyXDKgVYwxEKXfh_Q"},"notificationType":null,"createDate":"2018年7月27日 17:15","logo":"http://119.29.100.17:82/notification/201807271715399522ycsthl.png"},{"notificationId":201079,"title":"中国货运结构要变天，新物流寻路多式联运","content":"<div>一系列政策的变动显示了中国货物运输的变革节点已经来临。<\/div>\t\t\t\t\t","params":{"url":"https://mp.weixin.qq.com/s/D-xdxm4O1lJMGxVP5Om2Cg"},"notificationType":null,"createDate":"2018年7月13日 17:19","logo":"http://119.29.100.17:82/notification/201807131719279222ycstrn.png"},{"notificationId":194257,"title":"打赢蓝天保卫战，未来车用汽/柴油及重型柴油车需符合国六标准！","content":"<div>6月21日，国务院常务会议部署实施蓝天保卫战三年行动计划，明确自2019年1月1日起，在全国全面供应符合国六标准的车用汽/柴油。<\/div>\t\t\t\t\t","params":{"url":"https://mp.weixin.qq.com/s/qPbd-BjEYQodfW_0WX0R9w"},"notificationType":null,"createDate":"2018年7月6日 17:11","logo":"http://119.29.100.17:82/notification/201807061711429052ycstqw.png"}]
     */

    private String message;
    private List<DataBean> data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * notificationId : 215583
         * title : 为你揭开神秘面纱 | 号称“天下第一站”的潼关超限站魅力何在？
         * content : <div>陕西高速集团潼关超限检测站位于连霍高速K904+500处，地处陕豫晋三省交界，属于一类、主线、省界高速公路超限检测站和省界超限运输审批办证点。</div>
         * params : {"url":"https://mp.weixin.qq.com/s/DFmbATWUASvwSLcyoIkfVA"}
         * notificationType : null
         * createDate : 2018年8月14日 11:48
         * logo : http://119.29.100.17:82/notification/201808141148208447ycstbc.png
         */

        private int notificationId;
        private String title;
        private String content;
        private ParamsBean params;
        private Object notificationType;
        private String createDate;
        private String logo;

        public int getNotificationId() {
            return notificationId;
        }

        public void setNotificationId(int notificationId) {
            this.notificationId = notificationId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public ParamsBean getParams() {
            return params;
        }

        public void setParams(ParamsBean params) {
            this.params = params;
        }

        public Object getNotificationType() {
            return notificationType;
        }

        public void setNotificationType(Object notificationType) {
            this.notificationType = notificationType;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        @Override
        public String toString() {
            return "{" +
                    "notificationId=" + notificationId +
                    ", title='" + title + '\'' +
                    ", content='" + content + '\'' +
                    ", params=" + params +
                    ", notificationType=" + notificationType +
                    ", createDate='" + createDate + '\'' +
                    ", logo='" + logo + '\'' +
                    '}';
        }

        public static class ParamsBean {
            /**
             * url : https://mp.weixin.qq.com/s/DFmbATWUASvwSLcyoIkfVA
             */

            private String url;

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            @Override
            public String toString() {
                return "ParamsBean{" +
                        "url='" + url + '\'' +
                        '}';
            }
        }
    }

    @Override
    public String toString() {
        return data.toString();
    }
}
